/*
 * @(#)Account.java 0.0.1-SNAPSHOT
 * Copyright Group B
 */

package grupb.upf.XMLObjects;

/**
 * <p>This is the interface of the Account objects.</p>
 *
 * @version    0.0.1-SNAPSHOT
 * @author     Group B
 */
public interface Account {
    /**
     * This method let us to set the username.
     * @param username new the nick of the username
     */
    void setUsername(String username);
    /**
     * This method let us to get the username.
     * @return the nick of the username
     */
    String getUsername();
    /**
     * This method let us to set the password of the user.
     * @param password the new password of the user
     */
    void setPassword(String password);
    /**
     * This method let us to get the password of the user.
     * @return the password of the username
     */
    String getPassword();
    /**
     * This method let us to set the type of account (google, picassa...).
     * @param type the type of account of the user
     */
    void setType(String type);
    /**
     * This method let us to get the type of the account.
     * @return the type of the account
     */
    String getType();
    /**
     * This method returns us the info of the user in a String.
     * @return the info of the user
     */
    String getAccountInfo();
}
